package com.wanxi.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ClassName: Web
 * Description:
 * date: 2022/1/12 9:15
 *
 * @author lxl
 * @version 1.0
 * @since JDK 1.8
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@EnableFeignClients(basePackages = {"com.wanxi.coupon.api.feign","com.wanxi.login.api",
        "com.wanxi.user.api","com.wanxi.enterprise.api.feign", "com.wanxi.shop.api.feign",
        "com.wanxi.orderApi","com.wanxi.product.service.api.feign","com.wanxi.repertory.service.api.feign"})
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class,args);
    }
}
